<article class="cl pd-20">
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
            <a href="javascript:;" onclick="del_all()" class="btn btn-danger radius">
                <i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>
        </span>
        <!-- <span class="r">共有数据：<strong>54</strong> 条</span>  -->
    </div>
    <div class="mt-10">
        <table class="table table-border table-bordered table-hover table-bg">
            <thead>
                <tr class="text-c">
                    <th width="25">
                        <input type="checkbox" value="" name="allcheck">
                    </th>
                    <th width="80px">ID</th>
                    <th width="40px">userid</th>
                    <th width="80px">用户名</th>
                    <th width="100px">标题</th>
                    <th>内容</th>
                    <th width="140px">时间</th>
                    <th width="120px">ip</th>
                    <th width="80px">操作</th>
                </tr>
            </thead>
            <tbody>
                {notempty name="list"}
                {foreach $list as $val}
                <tr class="text-c">
                    <td>
                        <input type="checkbox" value="{$val.id}" name="checkbox[]">
                    </td>
                    <td>{$val.id}</td>
                    <td>{$val.userid}</td>
                    <td>{$val.username}</td>
                    <td>{$val.title}</td>
                    <td>{$val.content}</td>
                    <td>{$val.create_time}</td>
                    <td>{$val.ip}</td>
                    <td class="td-manage">
                        <a title="删除" href="javascript:;" onclick="del(this,'{$val.id}')" class="btn btn-danger radius">
                            <i class="Hui-iconfont">&#xe6e2;</i>
                        </a>
                    </td>
                </tr>
                {/foreach}
                {/notempty}
            </tbody>
        </table>
    </div>
    <div class="cl pd-5 bg-1 bk-gray mt-20 ">
        <span class="r">{$list->render()|raw}</span>
    </div>
</article>
